<template>
  <el-icon @click="loginout"><SwitchButton /></el-icon>
</template>

<script lang="ts" setup>
import { useRouter } from "vue-router";

const router = useRouter();
const loginout = () => {
  router.push("/login");
};
</script>
<style lang="scss" scoped>
</style>
